package com.wm.homework03;

public class Minus extends Calculator{
    @Override
    public void calculate() {
        double minus = super.getFristNum() - super.getSecondNum();
        System.out.println("两个数之差为:" + minus);
    }

    public Minus() {
    }

    public Minus(double fristNum, double secondNum) {
        super(fristNum, secondNum);
    }
}
